package com.clound.order.Service.Impl;

import com.clound.order.Service.OrderDetailService;
import com.clound.order.dao.OrderDetailDao;
import com.clound.order.dataObject.OrderDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by zzy on 2018/4/7.
 */
@Service
public class OrderDetailServiceImpl implements OrderDetailService {

    @Autowired
    private OrderDetailDao orderDetailDao;

    @Override
    public OrderDetail saveOrderDetail(OrderDetail orderDetail) {
        return orderDetailDao.save(orderDetail);
    }
}
